# encoding: utf-8
from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, TextAreaField
from wtforms.validators import DataRequired
from flask_pagedown.fields import PageDownField


class Add_atricle(FlaskForm):
    title = StringField(u'标题', validators=[DataRequired()])
    tags = StringField(u'标签')
    # content = TextAreaField(u'正文')
    content = PageDownField(u'正文')
    submit = SubmitField(u'提交')
